const fs = require('fs')

const homeRouter = (req, res) => {
    const home = fs.readFileSync('./views/index.html')
    res.end(home)
}

module.exports = homeRouter